@import '../../config/base.scss';
.search-result{
  background: #fff;
  padding: .1rem 0;
  font-size: 13px;
  color: #b5b5b5;
  padding-top:0.5rem;
  min-height: 568px;

  &-item{
    padding:0.1rem 0;
    margin:0 $gap;
    border-bottom:1px solid #f0f0f0;
    overflow:hidden;

    img{
      height:0.6rem;
      float:left;
      margin-right:0.1rem;
    }

    .link{
      color:$base-dark;
    }

    .title{
      font-size:15px;
      height:40px;
      overflow: hidden;
      color:$base-dark;
    }

      .sale-price{
          margin-top:0.05rem;
          margin-bottom:0.08rem;
          font-size:14px;
          float: left;
          color:#f87649;
          .goods-price-sign{
              font-size: 12px;
              color:$base-orange;
              border:1px solid $base-orange;
              border-radius: 4px;
              padding: 1px 2px;
              margin-bottom: 1px;
          }
      }

    .weight{
      padding:0.02rem 0.05rem;
      border:1px solid $base-grey;
      color:$base-grey;
      font-size:11px;
      border-radius:5px;
    }

    .tag{
      position:relative;
      margin-right:2px;
      font-size:22px;
      color:#FF6D38;
    }

    .tag-text{
      @include absolute(top 2px left 4px);
      font-size:12px;
      color:#fff;
    }

    .add-cart{
      float:right;
      margin-right:0.1rem;
      font-size:24px;
      color:$base-green;
    }
      .stock{
          box-sizing: border-box;
          height:18px;
          padding:0px 2px;
          border-radius:4px;
          font-size: 12px;
          color: #FA2626;
          margin-top: 5px;
      }
  }
}

